package com.atguigu.gmall.cart.client.impl;

import com.atguigu.gmall.cart.client.CartFeignClient;
import com.atguigu.gmall.cart.model.CartInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: atguigu
 * @create: 2023-06-25 10:11
 */
@Slf4j
@Component
public class CartDegradeFeignClient  implements CartFeignClient {
    @Override
    public List<CartInfo> getCartCheckedList(Long userId) {
        log.error("[购物车服务]远程调用getCartCheckedList服务降级方法");
        return null;
    }
}
